using System;
using System.Data;
using System.Configuration;
using System.Collections;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;
using SiteECSWeb;

public partial class Inquiries_InquiryDefault : PageBase
{
    protected void Page_Load(object sender, EventArgs e)
    {
        this.SiteMapNodeProvider
           = SiteMapProviderNames.TopSubMXmlSiteMapProvider.ToString();
      
    }
    protected void LinkButton3_Click(object sender, EventArgs e)
    {
        InquiriesBLL inquiryAPI = new InquiriesBLL();
        if (inquiryAPI.AddInquiry(this.txt_AuthorityName.TextBoxData, this.txt_PersonName.TextBoxData,
            this.txt_InquiryPhone.TextBoxData, this.txt_InquiryFax.TextBoxData, this.txt_InquiryEmail.TextBoxData,
            this.txt_InquiryBreif.TextBoxData, null, null, -1, false, null))
        {
            Helper.ResetDefaultData(this, true);
            pnlMessage.Visible = true;
        }
    }
}
